from flask import Flask
from flask.globals import request
from werkzeug import redirect
from flask.helpers import url_for
from flask.templating import render_template
import base64
app = Flask(__name__)

@app.route('/')
def front():
    return 'hello,world!'

@app.route('/index')
def index():
    return render_template('index.html')

@app.route('/login',methods=['POST','GET'])
def login():
    uid,password = base64.b64decode(s, altchars)